package com.bh.ledger.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.bh.common.core.domain.BhtmsBaseEntityNoCode;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 分段单据成本分摊对象 jc_cost_apportionment
 *
 * @author slx
 * @date 2023-04-24
 */
@TableName("jc_cost_apportionment")
@Data
public class JcCostApportionment extends BhtmsBaseEntityNoCode {
    


    private BigDecimal gxAmount;


    private BigDecimal qtAmount;


    private BigDecimal shAmount;


    private BigDecimal thAmount;


    private BigDecimal zAmount;


    private Long jcLedId;


    private Long jcShipmentId;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("createName", getCreateName())
                .append("createTime", getCreateTime())
                .append("description", getDescription())
               
                .append("modifyName", getModifyName())
                .append("modifyTime", getModifyTime())
                .append("name", getName())
                .append("status", getStatus())
                .append("gxAmount", getGxAmount())
                .append("qtAmount", getQtAmount())
                .append("shAmount", getShAmount())
                .append("thAmount", getThAmount())
                .append("zAmount", getZAmount())
                .append("jcLedId", getJcLedId())
                .append("jcShipmentId", getJcShipmentId())
                .toString();
    }
}
